﻿using Stimulus360.Models.Data;
using System.Collections.Generic;

namespace Stimulus360.Controllers.Projects
{
    /// <summary>
    ///     Class represents view model for the project detail view
    /// </summary>
    public class ProjectDetailViewModel
    {
        /// <summary>
        ///     List of related projects
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification ="Property needs to be set in the controllers")]
        public ICollection<Project> RelatedProjects { get; set; }

        /// <summary>
        ///     Project object to retrieve details.
        /// </summary>
        public Project Project { get; set; }
    }
}
